import pickle

import numpy as np

obj = np.array([[1,2,3],[2,3,4]])

output = open('array.pkl', 'wb')

pickle.dump(obj, output)

output.close()

input1 = open('array.pkl', 'rb')

data = pickle.load(input1)

print data[0]
